package String;

public class string_phonenumber_yinni {
    public static void main(String[] args) {
        //获取一个手机号码
        String phoneNumber="1352363477";

        //截取前三位
       String start= phoneNumber.substring(0,3);

       //截取后四位
        String end=phoneNumber.substring(7);

        //拼接
        String result=start+"****"+end;

        //打印
        System.out.println(result);
    }
}
